﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _05.DigitInEnglish
{
    class DigitInEnglish
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Insert a digit from 0 to 9 and you will receive its pronounce in english");
            Console.Write("From 0 to 9 = ");
            int digit = int.Parse(Console.ReadLine());
            Console.ForegroundColor = ConsoleColor.DarkCyan;    
            switch (digit)
                {
                    case 0: Console.WriteLine("Zero"); break;
                    case 1: Console.WriteLine("One"); break;
                    case 2: Console.WriteLine("Two"); break;
                    case 3: Console.WriteLine("Three"); break;
                    case 4: Console.WriteLine("Four"); break;
                    case 5: Console.WriteLine("Five"); break;
                    case 6: Console.WriteLine("Six"); break;
                    case 7: Console.WriteLine("Seven"); break;
                    case 8: Console.WriteLine("Eight"); break;
                    case 9: Console.WriteLine("Nine"); break;
                    default: Console.ForegroundColor = ConsoleColor.DarkRed; Console.WriteLine("INSERT A DIGIT! -------------------"); break;
                        
                }
        }
    }
}
